package com.wzl.demo_07_06;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class SecondActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
        Log.i(getClass().getName(),"onCreate" );
    }
    public void go(View view){
        startActivity(new Intent(this,ThirdActivity.class));
    }
    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.i(getClass().getName(),"onDestroy" );
    }
}